<%@ page language="java"  pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	    <title><fmt:message key="passengerDetail.heading"/></title>
	    <link rel="stylesheet" type="text/css" media="screen" href="${ctxPath}/css/form.css">
		<v:javascript formName="passenger" staticJavascript="false"/>
	 	<script type="text/javascript" src="${ctxPath}/js/validator.jsp"></script>
  </head>
  <body>
	  	<div class="post">
			<div class="story">
				<h3><fmt:message key="passengerDetail.heading"/></h3>
				<ul>功能介绍
					<li>[TODO]</li>
				</ul>
			</div>
		</div>
 		<div id="form-outer">
 			<div class="content">
 				<form:form method="post" id="passenger" onsubmit="return validatePassenger(this);" commandName="passenger" action="editPassenger.do">	
						<form:hidden path="id"/>					
			<p>
 				<label><fmt:message key="passenger.orderId"/></label>
				<form:input id="orderId" path="orderId"/>
 				<form:errors path="orderId" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.name"/></label>
				<form:input id="name" path="name"/>
 				<form:errors path="name" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.ageType"/></label>
				<form:input id="ageType" path="ageType"/>
 				<form:errors path="ageType" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.cardType"/></label>
				<form:input id="cardType" path="cardType"/>
 				<form:errors path="cardType" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.cardNum"/></label>
				<form:input id="cardNum" path="cardNum"/>
 				<form:errors path="cardNum" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.eticketNum"/></label>
				<form:input id="eticketNum" path="eticketNum"/>
 				<form:errors path="eticketNum" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.birthday"/></label>
				<form:input id="birthday" path="birthday"/>
 				<form:errors path="birthday" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.insuranceCount"/></label>
				<form:input id="insuranceCount" path="insuranceCount"/>
 				<form:errors path="insuranceCount" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.bxSource"/></label>
				<form:input id="bxSource" path="bxSource"/>
 				<form:errors path="bxSource" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.bxName"/></label>
				<form:input id="bxName" path="bxName"/>
 				<form:errors path="bxName" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.sex"/></label>
				<form:input id="sex" path="sex"/>
 				<form:errors path="sex" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.totalPrice"/></label>
				<form:input id="totalPrice" path="totalPrice"/>
 				<form:errors path="totalPrice" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.feePrice"/></label>
				<form:input id="feePrice" path="feePrice"/>
 				<form:errors path="feePrice" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.ticketPtice"/></label>
				<form:input id="ticketPtice" path="ticketPtice"/>
 				<form:errors path="ticketPtice" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.bxPrice"/></label>
				<form:input id="bxPrice" path="bxPrice"/>
 				<form:errors path="bxPrice" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.constructionFee"/></label>
				<form:input id="constructionFee" path="constructionFee"/>
 				<form:errors path="constructionFee" cssClass="fieldError" />
			</p>
			<p>
 				<label><fmt:message key="passenger.fuelTax"/></label>
				<form:input id="fuelTax" path="fuelTax"/>
 				<form:errors path="fuelTax" cssClass="fieldError" />
			</p>
 				 		<div class="last">
							<label>&nbsp;</label>
							<input name="submit" type="submit" onclick="bCancel=false" value=" 保存 " class="save"/>
							&nbsp;
							<input name="cancel" type="submit" onclick="bCancel=true" value=" 取消 " class="cancel"/>
						</div>
						
					</form:form>
 			
 			</div>
 		</div>
		
  </body>
</html>